import request from "../../utils/request";
export interface IData {
  username: string;
  password: string;
  path?: string;
}
export const login = (data: IData) => {
  return request({
    url: "/login",
    method: "post",
    data,
  });
};
